Optimal. Leaf size=171 \[ \frac{b \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}-\frac{b \text{PolyLog}\left (2,e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{2 \tanh ^{-1}\left (e^{2 \cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d^3}-\frac{2 b c x}{3 d^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b c x}{12 d^3 (c x-1)^{3/2} (c x+1)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.260796, antiderivative size = 171, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {5754, 5721, 5461, 4182, 2279, 2391, 39, 40} \[ \frac{b \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}-\frac{b \text{PolyLog}\left (2,e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{2 \tanh ^{-1}\left (e^{2 \cosh ^{-1}(c x)}\right ) \left (a+b \cosh ^{-1}(c x)\right )}{d^3}-\frac{2 b c x}{3 d^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b c x}{12 d^3 (c x-1)^{3/2} (c x+1)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5754
Rule 5721
Rule 5461
Rule 4182
Rule 2279
Rule 2391
Rule 39
Rule 40
Rubi steps
\begin{align*} \int \frac{a+b \cosh ^{-1}(c x)}{x \left (d-c^2 d x^2\right )^3} \, dx &=\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}-\frac{(b c) \int \frac{1}{(-1+c x)^{5/2} (1+c x)^{5/2}} \, dx}{4 d^3}+\frac{\int \frac{a+b \cosh ^{-1}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx}{d}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{(b c) \int \frac{1}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{6 d^3}+\frac{(b c) \int \frac{1}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{2 d^3}+\frac{\int \frac{a+b \cosh ^{-1}(c x)}{x \left (d-c^2 d x^2\right )} \, dx}{d^2}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}-\frac{2 b c x}{3 d^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}-\frac{\operatorname{Subst}\left (\int (a+b x) \text{csch}(x) \text{sech}(x) \, dx,x,\cosh ^{-1}(c x)\right )}{d^3}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}-\frac{2 b c x}{3 d^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}-\frac{2 \operatorname{Subst}\left (\int (a+b x) \text{csch}(2 x) \, dx,x,\cosh ^{-1}(c x)\right )}{d^3}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}-\frac{2 b c x}{3 d^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{2 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{2 \cosh ^{-1}(c x)}\right )}{d^3}+\frac{b \operatorname{Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d^3}-\frac{b \operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{d^3}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}-\frac{2 b c x}{3 d^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{2 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{2 \cosh ^{-1}(c x)}\right )}{d^3}+\frac{b \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}-\frac{b \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}\\ &=\frac{b c x}{12 d^3 (-1+c x)^{3/2} (1+c x)^{3/2}}-\frac{2 b c x}{3 d^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{a+b \cosh ^{-1}(c x)}{4 d^3 \left (1-c^2 x^2\right )^2}+\frac{a+b \cosh ^{-1}(c x)}{2 d^3 \left (1-c^2 x^2\right )}+\frac{2 \left (a+b \cosh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{2 \cosh ^{-1}(c x)}\right )}{d^3}+\frac{b \text{Li}_2\left (-e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}-\frac{b \text{Li}_2\left (e^{2 \cosh ^{-1}(c x)}\right )}{2 d^3}\\ \end{align*}
Mathematica [A] time = 1.42309, size = 210, normalized size = 1.23 \[ -\frac{b \left (6 \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )-6 \text{PolyLog}\left (2,e^{-2 \cosh ^{-1}(c x)}\right )+\frac{6 \cosh ^{-1}(c x)}{c^2 x^2-1}-\frac{3 \cosh ^{-1}(c x)}{\left (c^2 x^2-1\right )^2}-\frac{c x \left (\frac{c x-1}{c x+1}\right )^{3/2}}{(c x-1)^3}+\frac{8 c x \sqrt{\frac{c x-1}{c x+1}}}{c x-1}+12 \cosh ^{-1}(c x) \log \left (1-e^{-2 \cosh ^{-1}(c x)}\right )-12 \cosh ^{-1}(c x) \log \left (e^{-2 \cosh ^{-1}(c x)}+1\right )\right )+\frac{6 a}{c^2 x^2-1}-\frac{3 a}{\left (c^2 x^2-1\right )^2}+6 a \log \left (1-c^2 x^2\right )-12 a \log (x)}{12 d^3} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.182, size = 508, normalized size = 3. \begin{align*}{\frac{a}{16\,{d}^{3} \left ( cx-1 \right ) ^{2}}}-{\frac{5\,a}{16\,{d}^{3} \left ( cx-1 \right ) }}-{\frac{a\ln \left ( cx-1 \right ) }{2\,{d}^{3}}}+{\frac{a\ln \left ( cx \right ) }{{d}^{3}}}+{\frac{a}{16\,{d}^{3} \left ( cx+1 \right ) ^{2}}}+{\frac{5\,a}{16\,{d}^{3} \left ( cx+1 \right ) }}-{\frac{a\ln \left ( cx+1 \right ) }{2\,{d}^{3}}}-{\frac{2\,{x}^{3}b{c}^{3}}{3\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }\sqrt{cx-1}\sqrt{cx+1}}+{\frac{2\,{x}^{4}b{c}^{4}}{3\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }}-{\frac{b{\rm arccosh} \left (cx\right ){c}^{2}{x}^{2}}{2\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }}+{\frac{3\,xbc}{4\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }\sqrt{cx-1}\sqrt{cx+1}}-{\frac{4\,{x}^{2}b{c}^{2}}{3\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }}+{\frac{3\,b{\rm arccosh} \left (cx\right )}{4\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }}+{\frac{2\,b}{3\,{d}^{3} \left ({c}^{4}{x}^{4}-2\,{c}^{2}{x}^{2}+1 \right ) }}-{\frac{b{\rm arccosh} \left (cx\right )}{{d}^{3}}\ln \left ( 1+cx+\sqrt{cx-1}\sqrt{cx+1} \right ) }-{\frac{b}{{d}^{3}}{\it polylog} \left ( 2,-cx-\sqrt{cx-1}\sqrt{cx+1} \right ) }+{\frac{b{\rm arccosh} \left (cx\right )}{{d}^{3}}\ln \left ( \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) ^{2}+1 \right ) }+{\frac{b}{2\,{d}^{3}}{\it polylog} \left ( 2,- \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) ^{2} \right ) }-{\frac{b{\rm arccosh} \left (cx\right )}{{d}^{3}}\ln \left ( 1-cx-\sqrt{cx-1}\sqrt{cx+1} \right ) }-{\frac{b}{{d}^{3}}{\it polylog} \left ( 2,cx+\sqrt{cx-1}\sqrt{cx+1} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{1}{4} \, a{\left (\frac{2 \, c^{2} x^{2} - 3}{c^{4} d^{3} x^{4} - 2 \, c^{2} d^{3} x^{2} + d^{3}} + \frac{2 \, \log \left (c x + 1\right )}{d^{3}} + \frac{2 \, \log \left (c x - 1\right )}{d^{3}} - \frac{4 \, \log \left (x\right )}{d^{3}}\right )} - b \int \frac{\log \left (c x + \sqrt{c x + 1} \sqrt{c x - 1}\right )}{c^{6} d^{3} x^{7} - 3 \, c^{4} d^{3} x^{5} + 3 \, c^{2} d^{3} x^{3} - d^{3} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{b \operatorname{arcosh}\left (c x\right ) + a}{c^{6} d^{3} x^{7} - 3 \, c^{4} d^{3} x^{5} + 3 \, c^{2} d^{3} x^{3} - d^{3} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{a}{c^{6} x^{7} - 3 c^{4} x^{5} + 3 c^{2} x^{3} - x}\, dx + \int \frac{b \operatorname{acosh}{\left (c x \right )}}{c^{6} x^{7} - 3 c^{4} x^{5} + 3 c^{2} x^{3} - x}\, dx}{d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{b \operatorname{arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{3} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]